package com.dy.design_pattern_study.factory_method.dome.impl;

import cn.hutool.socket.nio.Operation;
import com.dy.design_pattern_study.factory_method.dome.IFactory;

/**
 * @CreateBy zhangdingyi
 * @Date 2023-03-21
 * @Content 减法工厂
 */
public class SubFactory implements IFactory {
    @Override
    public double createOperation(double num1, double num2) {
        return num1 - num2;
    }
}
